import Cookies from 'js-cookie'

const TokenKey='vue3_vite_ts_token'

//获取token
export function getToken() {
  return Cookies.get(TokenKey)
}
//储存token
export function setToken(token:string) {
  return Cookies.set(TokenKey,token)
}
//移除token
export function removeToken(){
  return Cookies.remove(TokenKey)
}
